<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    <title>搜索结果</title>
    <link type="text/css" rel="stylesheet" href="css/base.css"/>
    <link type="text/css" rel="stylesheet" href="css/page_search_result.css"/>
    <link type="text/css" rel="stylesheet" href="css/moudle_g_search_bar.css"/>
</head>
<body>
<div class="wrap">
    <div class="main clearfix">
        <div class="header"><br/><br/></div>
        <div id="search_result_panel">
            <div class="content_top">
                <div class="g_search_bar">
                    <div style="display: inline-block">
                        <a href="/">
                            <span class="logo">
                                <span class="logo_name">新闻</span><span class="logo_rear">检索</span>
                            </span>
                        </a>
                    </div>
                    <div style="display: inline-block" >
                        <form class="search_form" action="/search">
                            <input class="search_text" name="keywords" type="text" th:value="${keywords}" />
                            <input class="btn_submit" type="submit" value="搜索" />
                        </form>
                    </div>
                </div>
                <div class="clear"></div>
                <div><br /><br /></div>
            </div>
            <div class="content_left">
                <div class="result_item_article" style="display: none;">
                    <h3><a href="#" class="article_title">coding的最新相关信息</a></h3>
                    <ul>
                        <li>最新更新：2015-4-3 2:25</li>
                        <li>122人赞同</li>
                        <li>44人反对</li>
                    </ul>
                    <div class="article_body">
                        <a href="#">
                            <img alt="" src="http://p.blog.csdn.net/images/p_blog_csdn_net/sealyao/594039/o_clip_image001_thumb.jpg" />
                        </a>
                        <div>哈哈哈哈哈哈嘎嘎嘎嘎嘎嘎哈哈哈哈哈哈嘎嘎嘎嘎嘎哈哈哈哈哈哈哈嘎嘎嘎嘎嘎哈哈哈哈嘎嘎嘎嘎嘎哈哈哈哈嘎嘎嘎嘎嘎哈哈哈哈嘎嘎嘎嘎嘎哈哈哈哈嘎嘎嘎嘎嘎哈哈哈哈</div>
                    </div>
                    <div class="article_label">
                        <span>标签：</span>
                        <a href="#">ide</a>
                        <a href="#">coding</a>
                        <a href="#">ide</a>
                        <a href="#">coding</a>
                        <a href="#">ide</a>
                    </div>
                </div>
                <div class="result_item_article" th:each="resultItem:${resultList}">
                    <h3>
                        <!--<a th:href="@{'/download?fileName='+${resultItem.filename}}" th:utext="${resultItem.title}"></a>-->
                        <a th:href="${resultItem.id}" th:utext="${resultItem.richText}" class="article_title"></a>
                    </h3>
                    <div class="article_body" th:utext="${resultItem.richText}"></div>
                    <div class="article_label">
                        <span>标签：</span>
                        <a href="#" th:utext="${resultItem.newsType}"></a>
                        <a href="#" th:utext="${resultItem.createTime}"></a>
                    </div>
                </div>
                <div th:if="${null == resultList || 0 == resultList.size()}">
                    <h1>没有搜索到相关数据 (;-_-)ᴇᴍᴍᴍ</h1>
                </div>
            </div>
            <div class="content_right"></div>
            <div class="clear"></div>
            <div class="refer_link"></div>
            <div class="page_index"></div>
        </div>
    </div>
</div>
<div th:include="footer.html"></div>
</body>
</html>